<%@ page contentType="text/html" %>
<%@ page pageEncoding="UTF-8" %>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib prefix="s" uri="/struts-tags" %> 
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %>

<tiles:insertDefinition name="baseLayout">

<tiles:putAttribute name="head" type="String">
<sx:head parseContent="true" />

<style type='text/css'>
<!--
	.alignCenter { text-align: center; }
	.alignRight { text-align: right; }
-->
</style>

<script type="text/javascript" language="javascript" src="js/NumberFormat154.js"></script>
<script type="text/javascript">
	
</script>
</tiles:putAttribute>

<tiles:putAttribute name="body" type="String">

<br><br><br><br>
<center>

	<h4>Welcome to Reservation System</h4>
	<br><br>
	<h4>You are on ${sessionScope['SCounter'].counterName}</h4>
	<br><br><br>
	<h3 id="errorText" style="color: red"></h3>
	
</center>

<s:url id="hiddenShiftControlURL" value="hiddenShiftCtrl.action" />
<sx:div id="hiddenShiftControlDIV" autoStart="false" parseContent="true" executeScripts="true"
        separateScripts="true" showLoadingText="false"
        href="%{hiddenShiftControlURL}" refreshOnShow="true"></sx:div>

</tiles:putAttribute>

</tiles:insertDefinition>
